package wsepForum.network.common;
import java.util.Vector;

/**
 * Interface of a network tokenizer
 * In charge of extract tokens from incoming network data
 * @author Oren Ben-Haim
 *
 * @param <T> The type of the token
 */
public interface ITokenizer<T> {
		/**
		 * Get tokens out of string stream
		 * @param incoming string stream to process
		 * @return vector of tokens received
		 */
		Vector<T> process(String incoming); 
}
